package com.jp.java8;

public class Lambda {
    public static void pringString(String s,Print<String> print){
        print.print(s);
    }

    public static void main(String[] args) {
        pringString("hello",(s)->System.out.println(s));
    }
}
